<template>
	<view>
		<view style="" class="empty">
			<view style="width: 680rpx;">
				<view class="u-flex u-row-center">
					
					<view style="width: 400rpx;height: 400rpx;background-size: cover;" :style="{backgroundImage:'url('+$ftpUrl('/no_moneny.png')+')'}"></view>
				
				</view>
	<!-- @click="$Go('/pages/my/charge')" -->
				<view
			@click="scan"
					style="
				background: linear-gradient(180deg,#4f8bff , #745eff );
				border-radius: 58px;
				box-shadow: 0px 6px 12px 0px rgba(2,88,255,0.28);padding: 30rpx;margin-top: 20rpx;text-align: center;color: #fff;margin-top: 40rpx;">
					扫码
				</view>
			</view>

		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			scan(){
				uni.scanCode({
					success:(res=>{
						
						let {result}=res;
						
						
						console.log(this.$getParams(result),2232)
						this.$emit('contentScan',this.$getParams(result))
					})
				});
			}
		}
	}
</script>

<style>
</style>
